﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebDemo.Models
{
    /// <summary>
    /// Point of Interest请求对象
    /// </summary>
    public class POIRequest
    {
        /// <summary>
        /// 经度
        /// </summary>
        [Required]
        [Range(0.0,180.0)]
        public float lon { set; get; }

        /// <summary>
        /// 纬度
        /// </summary>
        [Required]
        [Range(0.0, 180.0)]
        public float lat { set; get; }

        /// <summary>
        /// 精度（范围,km）
        /// </summary>
        [Range(0.5, 25)]
        public float radius { set; get; }


    }
}